<link href="../addons/jy_mapfuwu/custom/templates/mobile/style.css?v=202205251730" rel="stylesheet">
<div class="fui-page fui-page-current page-commission-index ">
    <div class="fui-content">
	<div style="background: {{main.syscolor||'#05c175'}};padding:1rem 0.5rem;margin-top:0;padding-bottom:1.6rem;">
			<div class="fui-cellone" style="padding:0">
				<div class="fui-cellone-text" style="font-size:0.7rem;color:#fff;padding-left:0.5rem">
					￥<span class="bold title15">{{pagedata.data.commission_total || '0.00'}} </span>
					<div style="font-size:0.7rem">我的分润(元)</div>
				</div>
				<div class="fui-cellone-remark noremark" style="font-size:0.7rem;color:#fff;" href="javascript:;" ng-click="access_json('jy_mapfuwu/san.balance/')">
					 <a style="border-radius: 1rem;padding:0.2rem 0.3rem;font-size:0.6rem; background-color: rgb(255, 255, 255, 0.3);;width:auto;color:#fff"><i class="icon icon-qiehuan" style="font-size:0.6rem"></i> {{pagedata.setting.tcommission_detail || '结算详情'}}</a>
				</div>
			</div>			
	</div>
	<div style="padding:0.5rem;margin-top:-2rem">
	<div class='fui-cell-group'>
	    <div class='fui-cell'>
		<div class='fui-cell-icon'><i class='icon jinyunicon icon-caifub'></i></div>
		<div class='fui-cell-label' style='width:auto'>{{pagedata.setting.commission_1 || '分销佣金'}}</div>
		<div class='fui-cell-info' ></div>
		<div class='fui-cell-remark noremark' ><span class="text-orange">{{pagedata.data.commission_1}} 元</span></div>
	    </div>
	</div>
	
	<div class='fui-cell-group'>
	    <div class='fui-cell'>
		<div class='fui-cell-icon'><i class='icon jinyunicon icon-clock'></i></div>
		<div class='fui-cell-label' style='width:auto'>{{pagedata.setting.balance_total || '已结算佣金'}}</div>
		<div class='fui-cell-info' ></div>
		<div class='fui-cell-remark noremark' >{{pagedata.data.balance_total}} 元</div>
	    </div>
	    <div class='fui-cell'>
		<div class='fui-cell-icon'><i class='icon jinyunicon icon-clock'></i></div>
		<div class='fui-cell-label' style='width:auto'>{{pagedata.setting.balance_1 || '待打款佣金'}}</div>
		<div class='fui-cell-info' ></div>
		<div class='fui-cell-remark noremark' >{{pagedata.data.balance_1}} 元</div>
	    </div>

		<div class='fui-cell'>
			<div class='fui-cell-icon'><i class='icon jinyunicon icon-clock'></i></div>
			<div class='fui-cell-label' style='width:auto'>{{pagedata.setting.balance_2 || '无效佣金'}}</div>
			<div class='fui-cell-info' ></div>
			<div class='fui-cell-remark' href="javascript:;" ng-click="access_json('jy_mapfuwu/san.balance//status=2')" >{{pagedata.data.balance_2}} 元</div>
		</div>

	    <div class='fui-cell'>
		<div class='fui-cell-icon'><i class='icon jinyunicon icon-caifua'></i></div>
		<div class='fui-cell-label' style='width:auto'>{{pagedata.setting.balance_3 || '已打款佣金'}}</div>
		<div class='fui-cell-info' ></div>
		<div class='fui-cell-remark noremark' >{{pagedata.data.balance_3}}元</div>
	    </div>

        <div class='fui-cell'>
            <div class='fui-cell-icon'><i class='icon icon-trade'></i></div>
            <div class='fui-cell-label' style='width:auto'>{{pagedata.setting.balance_pay || '扣除提现手续费'}}</div>
            <div class='fui-cell-info' ></div>
            <div class='fui-cell-remark noremark' >-{{pagedata.data.balance_pay}}元</div>
        </div>


	</div>

	<div class='fui-cell-group'>
	    <div class='fui-cell'>
		<div class='fui-cell-icon'><i class='icon jinyunicon icon-clock'></i></div>
		<div class='fui-cell-label' style='width:auto'>{{pagedata.setting.commission_0 ||'待收货佣金'}}</div>
		<div class='fui-cell-info' ></div>
		<div class='fui-cell-remark noremark' >{{pagedata.data.commission_0}}元</div>
	    </div>
	    <div class='fui-cell'>
		<div class='fui-cell-icon'><i class='icon jinyunicon icon-clock'></i></div>
		<div class='fui-cell-label' style='width:auto'>{{pagedata.setting.commission_1_1 || '可结算佣金'}}</div>
		<div class='fui-cell-info' ></div>
		<div class='fui-cell-remark noremark' >{{pagedata.data.commission_1_1}}元</div>
	    </div>
	</div>
	
	<div class='fui-according-group'>
	    <div class='fui-according expanded'>
		<div class='fui-according-header'>
		    <div class='text'>用户须知</div>
		    <div class='remark'></div>
		</div>
		<div class='fui-according-content'>
		    <div class='content-block'>

		   <!-- {if $this->set['settledays']>0}
		    买家确认收货（<span class='text-orange'>{php echo $this->set['settledays']}天</span> )后，
		    {php echo $this->set['texts']['commission']}可{php echo $this->set['texts']['withdraw']}。结算期内，买家退货，
		    {php echo $this->set['texts']['commission']}将自动扣除。
		    {else} -->
		    买家确认收货后，立即获得{{pagedata.setting.tcommission1}}
		  
		    <br/>注意：可用{{pagedata.setting.tcommission}}满 <span class='text-orange'>{{pagedata.setting.balance_money}}元</span> 后才能申请{{pagedata.setting.balance_button}}
		    </div>
		</div>

	    </div>
	</div>
	 <div class='btn btn-danger block btn-submit' style="margin-top:1rem" ng-click="pagedata.showtixian=true">我要结算</div>
	</div>
	</div>
	 <div ng-include="sys_html('_footer')"></div>
</div>
<div ng-if="pagedata.showtixian" class="popup">
	<div class="popup-body">
		<div class="popup-bottom">
			<i class="closed icon icon-cuowu" ng-click="pagedata.showtixian=false"></i>
			<div class='fui-content' >
				<div class='fui-cell-group fui-cell-group-o' style="margin:0">
					<div class='fui-cell-title'>提现金额
						<small ng-if="pagedata.pluginset.balance_money>0">提现额度最小为: <span class='text-danger'>￥{{pagedata.pluginset.balance_money}}</span></small>
					</div>
					<div class='fui-cell'>
						<div class='fui-cell-label big' style='width:auto;'>￥</div>
						<div class='fui-cell-info'>
						{{pagedata.data.commission_1_1}}
						</div>
					</div>
					<div class="fui-cell">
						<div class="fui-cell-label" style="width: 120px;"><span class="re-g">提现方式</span></div>
						<div class="fui-cell-info">
							<select id="applytype" ng-model="pagedata.post.pay_type">
								<option ng-repeat="(k,title) in pagedata.pay_types" value="{{k}}" ng-selected="pagedata.post.pay_type==k">{{title}}</option>
							</select>
						</div>
						<div class="fui-cell-remark"></div>
					</div>
					<div ng-if="pagedata.post.pay_type =='downline'" class="fui-cell alipay-group">
						<div class="fui-cell-label" style="width: 120px;">微信号</div>
						<div class="fui-cell-info">
						<input type="text" id="wechat" name="wechat" class='fui-input' ng-model="pagedata.post.wechat" value="{{pagedata.post.wechat}}" max="25"/>
						</div>
					</div>
					<div ng-if="pagedata.post.pay_type =='alipay' || pagedata.post.pay_type =='union'" class="fui-cell ab-group">
						<div class="fui-cell-label" style="width: 120px;">真实姓名</div>
						<div class="fui-cell-info"><input type="text" id="realname" name="realname" ng-model="pagedata.post.realname" class='fui-input' value="{{pagedata.post.realname}}" max="25"/></div>
					</div>
					<div ng-if="pagedata.post.pay_type =='alipay'" class="fui-cell alipay-group">
						<div class="fui-cell-label" style="width: 120px;">支付宝帐号</div>
						<div class="fui-cell-info">
						<input type="text" id="alipay" name="alipay" class='fui-input' ng-model="pagedata.post.alipay" value="{{pagedata.post.alipay}}" max="25"/>
						</div>
					</div>
					<div ng-if="pagedata.post.pay_type =='alipay'" class="fui-cell alipay-group">
							<div class="fui-cell-label" style="width: 120px;">确认帐号</div>
							<div class="fui-cell-info"><input type="text" id="alipay1" ng-model="pagedata.post.alipay1" name="alipay1" class='fui-input' value="{{pagedata.post.alipay1}}" max="25"/></div>
					</div>
					<div ng-if="pagedata.post.pay_type =='union'" class="fui-cell bank-group" >
							<div class="fui-cell-label" style="width: 120px;">所属银行</div>
							<div class="fui-cell-info">
								<input type="text" name="bankname" class='fui-input' ng-model="pagedata.post.bankname" value="{{pagedata.post.bankname}}"/>
							</div>
					</div>
					<div ng-if="pagedata.post.pay_type =='union'" class="fui-cell bank-group">
							<div class="fui-cell-label" style="width: 120px;">银行卡号</div>
							<div class="fui-cell-info"><input type="text" id="bankcard" name="bankcard" class='fui-input' ng-model="pagedata.post.bankcard" value="{{pagedata.post.bankcard}}" max="25"/></div>
					</div>
					<div ng-if="pagedata.post.pay_type =='union'" class="fui-cell bank-group">
							<div class="fui-cell-label" style="width: 120px;">确认卡号</div>
							<div class="fui-cell-info"><input type="text" id="bankcard1" name="bankcard1" class='fui-input' ng-model="pagedata.post.bankcard1" value="{{pagedata.post.bankcard1}}" max="25"/></div>
					</div>
					<div class="fui-cell alipay-group">
						<div class="fui-cell-label" style="width: 120px;">联系电话</div>
						<div class="fui-cell-info">
						<input type="text" id="mobile" name="mobile" class='fui-input' ng-model="pagedata.post.mobile" value="{{pagedata.post.mobile}}" max="25"/>
						</div>
					</div>
					<div ng-if="pagedata.post.pay_type!='credit'" class='fui-cell-title disabled'>提现手续费为 <text class='text-danger'> {{pagedata.pluginset.balance_per || 0}}</text>%</div>
					<div ng-if="pagedata.post.pay_type!='credit'" class='fui-cell-title charge-group disabled' style="padding-top:0">本次提现将扣除手续费 ￥<text class='text-danger'> {{pagedata.data.service_money || '0.00'}}</text>
					</div>
					<div ng-if="pagedata.post.pay_type!='credit'" class='fui-cell-title charge-group disabled' style="padding-top:0">本次提现实际到账金额 ￥<text class='text-danger'> {{pagedata.data.cash_money || '0.00'}}</text>
					</div>
				</div>
				<a id='btn-next' class='btn btn-success block ' ng-click="post(pagedata.post,'/san.commission/balance/')">提现</a>
			</div>
		</div>
	</div>
</div>
<script>
</script>